package Demo1;

/**
 * Created with  IntelliJ IDEA .
 * Description:
 * User: lenovo
 * Date: 2025-${ MONTH }-19
 * Time: 22:31
 */
public class Test {

    public static void main(String[] args) {

        Computer computer = new Computer();
        computer.PowerOn();
        computer.UseUsbDevice(new Mouse());
        computer.UseUsbDevice(new Keyboard());
        computer.PowerOff();

    }
}
